home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / bbs / l2100.zip / BONE.REF < prev    next >
Text File  |  1997-06-20  |  33KB  |  1,456 lines

  1. ;Ref for the Big Bad BoneTown (tm)  (Go Jester!)
  2.  
  3. @#MAN1
  4. ;A stock message outline
  5. @DO SAYBAR
  6. `0Dad:  `2I finally did it.  I brought my boy to the Bonetown Arena!
  7. @DO MOVEBACK
  8.  
  9. @#HOT
  10. ;A stock message outline
  11. @DO SAYBAR
  12. `0Rich Woman:  `2I'm hot, I can feel it!
  13. @DO MOVEBACK
  14.  
  15.  
  16. @#haha
  17. ;A stock message outline
  18. @DO SAYBAR
  19. `0Jesse:  Haha!  There is nothing here, sucka!
  20. @DO MOVEBACK
  21.  
  22. @#MAN2
  23. ;A stock message outline
  24. @DO SAYBAR
  25. `0Boy:  `2Are you one of the Arena Warriors?  Wow!
  26. @DO MOVEBACK
  27.  
  28. @#GUM
  29. ;On a chair in the bar
  30. @DO SAYBAR
  31. `2Yuck, seems to be gum stuck to this chair.
  32.  
  33. @#STRUT
  34. ;Your moves in the funhouse
  35. @DO SAYBAR
  36. `2You strut your stuff on the dance floor!
  37.  
  38. @#MOVES
  39. ;People in the funhouse
  40. @DO SAYBAR
  41. `0"Those are some killer moves you got there."
  42. @DO MOVEBACK
  43.  
  44. @#PEE
  45. ;Area in the bar
  46. @DO SAYBAR
  47. `2Uhhh, something over here smells like urine.
  48.  
  49. @#BSIGN
  50. ;A stock message outline
  51. @DO SAYBAR
  52. `2You're on a boat!!!
  53. @DO MOVEBACK
  54.  
  55. @#RUBBLE
  56. ;Message for the crumbled house in BoneTown
  57. @DO SAYBAR
  58. `2A rock slide totally demolished this house.
  59. @DO MOVEBACK
  60.  
  61. @#DOG
  62. ;Message for a house in bonetown
  63. @DO SAYBAR
  64. `2A really BIG Chihuahua guards the entrance.
  65. @DO MOVEBACK
  66.  
  67. @#NOENTER
  68. ;Message for another house in BoneTown
  69. @DO SAYBAR
  70. `2This place looks boarded up real tight.
  71. @DO MOVEBACK
  72.  
  73. @#SACK
  74. ;Message for inside the abandoned house
  75. @DO SAYBAR
  76. `2Looks like this place has been ransacked by the locals...
  77.  
  78. @#USED
  79. ;Message for the toilet in the house
  80. @DO SAYBAR
  81. `2Woah!
  82. @DO MOVEBACK
  83.  
  84. @#JOHN
  85. ;Happy guy in the house
  86. @if `v06 is 1 then do
  87.   @begin
  88.   @DO MOVEBACK
  89.   @DO SAYBAR
  90. `0"That was a great experience ... "
  91.   @closescript
  92.   @end
  93. @DO SAYBAR
  94. `0"That was the best sex I've ever had."
  95. @DO MOVEBACK
  96.  
  97. @#BED
  98. ;Bed in the house
  99. @if `v06 is 1 then do
  100.   @begin
  101.   @DO MOVEBACK
  102.   @DO SAYBAR
  103. `2Looks like a nice bed.
  104.   @closescript
  105.   @end
  106. @DO SAYBAR
  107. `2You gotta pay to hop on that bed.
  108. @DO MOVEBACK
  109.  
  110. @#MA
  111. ;The in charge lady at that one house.
  112.   @IF &lasty is 10 then do
  113.    @BEGIN
  114.    @DO SAYBAR
  115. `2The Hefty old lady winks as you pass by.
  116.    @CLOSESCRIPT
  117.    @END
  118. @IF `v06 is 1 then do
  119.   @begin
  120.   @DO MOVEBACK
  121.   @DO SAYBAR
  122. `2She looks like she doesn't want you to go upstairs.
  123.   @closescript
  124.   @end
  125. @IF &sex is 1 then do
  126. @BEGIN
  127.   @DO MOVEBACK
  128.   @label baby
  129.   @do `v01 is 1
  130.   @SHOW
  131. `r0`c  `r1`%  Good 'ol Ma  `r0
  132.  
  133. `2  The woman at the stairs smiles at you.  She seems to be in charge of the
  134.   establishment here.  She's pretty old and kinda hefty.
  135.   `0"Hey there sir, interested in a good time.  Our girl doesn't say no ... if
  136.   you have the money that is.  What do ya say sonny ?"`2
  137.  
  138. @do write
  139. `x`x
  140. @CHOICE
  141. Ask about the girl
  142. >&money 99 Take a ride (`$$100`%)
  143. Leave
  144. @if response is 1 then do
  145.  @begin
  146.  @show
  147. `\`\  `0"Kelley's a good girl ... or a bad one, depending on what you want.
  148.   Sure just about everyone's had a ride on her, but hey can you blame em?
  149.   After all we don't force you to use protection like that pesky place across
  150.   the way.  Who says sex is dangerous?  Ha."
  151. `\`k
  152.  @do goto baby
  153.  @end
  154. @if response is 2 then do
  155.  @begin
  156.  @do money - 100
  157.  @show
  158. `\`\  `0"You wont be sorry my boy, and get ready for one nice ride.  Oh and
  159.   if you're interested later ..." `2she winks as you walk up the stairs.
  160. `\`k
  161.  @do y - 2
  162.  @drawmap
  163.  @update
  164.  @end
  165.   @drawmap
  166.   @update
  167.   @CLOSESCRIPT
  168. @END
  169. @DO SAYBAR
  170. `0"Hey Deary, interested in a job?"
  171. @DO MOVEBACK
  172.  
  173. @#WHORE
  174. ;Kelley upstair in the house
  175. @DO MOVEBACK
  176. @do `p20 random 5 1
  177.  @if `p20 is 5 then do
  178.  @begin
  179. @SHOW
  180. `r0`c  `r1`%  Hot Baby  `r0
  181.  
  182. `2  That's quite a nice rack on that girl.  And just enough meat for a man to
  183.   sink his own into.  Her nice long black hair shimmers in the light.
  184.   `0"Hello," `2she says.  Her teeth could use a little work but, payers can't
  185.   be choosers.
  186.   `0"What would you like to try today?"
  187. `\`k`2  The drool from your open mouth shows that you are in no condition to
  188.   dictate much.  She gladly dictates for you. `l. `l. `l. `l.
  189. `\`k  You get very worked up during the process, she even seems to be enjoying
  190.   it.  She might not be faking!  Suddenly your foot slips and your grasp on
  191.   the bedpost fails!  That window's open ... oh no!
  192. `\`k  
  193.  @do x is 38
  194.  @do y is 6
  195.  @do `p34 + 1
  196.   @do `p20 random 5 1
  197.   @if `p20 is 1 then do
  198.     @begin
  199.     ;ha ha, user caught vd
  200.     @do `p12 is 1
  201.     @end
  202.  @drawmap
  203.  @update
  204.  @do saybar
  205. `bThere's an 20 percent chance you just caught something.
  206.  @closescript
  207.  @end
  208. @SHOW
  209. `r0`c  `r1`%  Hot Baby  `r0
  210.  
  211. `2  That's quite a nice rack on that girl.  And just enough meat for a man to
  212.   sink his own into.  Her nice long black hair shimmers in the light.
  213.   `0"Hello," `2she says.  Her teeth could use a little work but, payers can't
  214.   be choosers.
  215.   `0"What would you like to try today?"
  216. `\`k`2  The drool from your open mouth shows that you are in no condition to
  217.   dictate much.  She gladly dictates for you.
  218. `\`k  Five minutes later `0(need to exercise huh?)`2 you get up very satisfied.
  219. `\`k  `bTHERE'S AN 20 PERCENT CHANCE YOU JUST GOT SOMETHING!!`2
  220. `\`k
  221. @do y + 3
  222. @do `p34 + 1
  223.   @do `p20 is random 5 1
  224.   @if `p20 is 1 then do
  225.     @begin
  226.     ;ha ha, user caught vd
  227.     @do `p12 is 1
  228.     @end
  229. @drawmap
  230. @update
  231.  
  232. @#DEFEAT
  233. ;Losing at the Arena
  234. @do `p02 is 5
  235. @bitset `t12 7 1
  236. @show
  237. `r0`c  `r1`%  You lost  `r0
  238.  
  239. `2  The hulking Gladiator stands over you.  You can hear the crowd booing your
  240.   defeat in the background.  Better luck tommorow...
  241. `\`k
  242. @drawmap
  243. @update
  244.  
  245. @#RUN
  246. ;Running at the Arena
  247. @bitset `t12 7 1
  248. @show
  249. `r0`c  `r1`%  Only one thing to do!  `r0
  250.  
  251. `2  You turn your back to your enemy and bolt.  You scramble over the Arena
  252.   wall!
  253.  
  254.   `0"Coward, Coward!" `2the audience chants in unison.
  255.  
  256.   Crap.. Looks like you better not show your face around here again today...
  257. `\`k
  258. @drawmap
  259. @update
  260.  
  261. @#WIN
  262. ;Winning at the Arena
  263. @show
  264. `r0`c  `r1`%  VICTORY IS YOURS THIS DAY  `r0
  265.  
  266. `2  The entire arena roars in approval as you behead poor `0`e`2.
  267.  
  268.   `2You have done well - dare you attempt another battle?
  269. `\`k
  270. @drawmap
  271. @update
  272.  
  273.  
  274. @#ARENA
  275. ;The battling arena in BoneTown.
  276. @DO MOVEBACK
  277. @busy
  278. @label beat
  279. @do `v01 is 1
  280. @show
  281. `r0`c  `r1`%  The Gladiator Arena  `r0
  282.  
  283. `2  The area is surrounded by plebeian onlookers who cheer as a fight proceeds
  284.   in the middle.  You could've guessed the people of BoneTown would choose
  285.   this kind of entertainment.  A man in dark robes who seems to be the
  286.   organizer of it approaches you.
  287.  
  288. `0  "You look like a prosperous warrior, would you care to take a chance?"
  289.  
  290. @do write
  291. `x`x
  292. @CHOICE
  293. Ask about the rules
  294. Do Battle
  295. Leave
  296. @if response is 3 then do
  297.   @begin
  298.          @if bitcheck `t12 7 1 then do
  299.            @begin
  300.   @show
  301. `\`\  `0"Haha! Go practice with your father, kid!"
  302. `\  `$"But my dad is dead!" `2you cry, as a salty tear rolls down your cheek.
  303.  
  304.   You flee the laughing Arena.
  305. `\`k
  306.   @drawmap
  307.   @update
  308.   @closescript
  309.  
  310.            @end
  311.   @show
  312. `\`\  `0"We knew you were a coward the moment you arrived!"
  313. `\`k
  314.   @drawmap
  315.   @update
  316.   @closescript
  317.   @end
  318.  
  319. @if response is 1 then do
  320.         @begin
  321.         @show
  322. `\`\  `0"It's simple.  For 200 gold, you fight one of my random gladiators
  323.   for the crowd.  If you win, you double the 200.  If not, you lose it.  You
  324.   can battle as many times you want a day until you lose.  So what do you
  325.   say? 
  326. `\`k
  327.         @do goto beat
  328.         @end
  329.  
  330.  
  331. @if response is 2 then do
  332.         @begin
  333.         @if money < 200 then do
  334.           @begin
  335.         @show
  336. `\`\  `0"You don't even have 200 gold?!  How on earth could you be a great
  337.   arena warrior?!  Hahah!"
  338.  
  339.   `2Your face turns beet red.
  340. `\`k
  341.          @do goto beat
  342.          @end
  343.  
  344.          @if bitcheck `t12 7 1 then do
  345.            @begin
  346.            @show
  347. `\`\  `0"You have already been bested in the Arena once today!  The crowd
  348.   would much rather see a winner, not someone like you!"
  349.  
  350. `k
  351.            @do goto beat
  352.            @end
  353.  
  354.         @do money - 200
  355.         @do `p20 random 6 1
  356.                @if `p20 is 1 then `s01 is Gladiator
  357.                @if `p20 is 2 then `s01 is Big`xGladiator
  358.                @if `p20 is 3 then `s01 is Fat`xGladiator
  359.                @if `p20 is 4 then `s01 is Armored`xGladiator
  360.                @if `p20 is 5 then `s01 is Death`xGladiator
  361.                @if `p20 is 6 then `s01 is Nitro
  362.         @show
  363. `\`\  `2They agree to let you fight.
  364.  
  365.   You grip your `0s&weapon`2 tightly as you wait for your opponent.
  366. `\`k  `0The robed man screams the name .`l .`l .`l .`l .`% `s01`0!
  367.  
  368. `k
  369. @
  370. ;Glad Strength
  371.         @do `p20 random 5 1
  372.                @if `p20 is 1 then do
  373.                 @begin
  374.                  @do `p21 is S&wep_num
  375.                  @do `p21 + `p04
  376.                  @do `p21 - 30
  377.                 @end
  378.  
  379.                @if `p20 is 2 then do
  380.                 @begin
  381.                  @do `p21 is S&wep_num
  382.                  @do `p21 + `p04
  383.                  @do `p21 - 12
  384.                 @end
  385.  
  386.                @if `p20 is 3 then do
  387.                 @begin
  388.                  @do `p21 is S&wep_num
  389.                  @do `p21 + `p04
  390.                 @end
  391.  
  392.                 @if `p20 is 4 then do
  393.                 @begin
  394.                  @do `p21 is S&wep_num
  395.                  @do `p21 + `p04
  396.                  @do `p21 + 12
  397.                 @end
  398.  
  399.                @if `p20 is 5 then do
  400.                 @begin
  401.                  @do `p21 is S&wep_num
  402.                  @do `p21 + `p04
  403.                  @do `p21 + 30
  404.                 @end
  405. ;Glad Defense
  406.         @do `p20 random 3 1
  407.                @if `p20 is 1 then do
  408.                  @begin
  409.                   @do `p22 is S&arm_num
  410.                   @do `p22 + `p05
  411.                   @do `p22 - 20
  412.                  @end
  413.  
  414.                @if `p20 is 2 then do
  415.                 @begin
  416.                  @do `p22 is S&arm_num
  417.                  @do `p22 + `p05
  418.                 @end
  419.  
  420.                @if `p20 is 3 then do
  421.                 @begin
  422.                  @do `p22 is S&arm_num
  423.                  @do `p22 + `p05
  424.                  @do `p22 + 20
  425.                 @end
  426. ;Glad H.p.
  427.  
  428.         @do `p20 random 3 1
  429.                @if `p20 is 1 then do
  430.                 @begin
  431.                  @do `p23 is `p03
  432.                  @do `p23 - 10
  433.                  @end
  434.  
  435.                @if `p20 is 2 then do
  436.                 @begin
  437.                  @do `p23 is `p03
  438.                 @end
  439.  
  440.                 @if `p20 is 3 then do
  441.                  @begin
  442.                   @do `p23 is `p03
  443.                   @do `p23 + 10
  444.                  @end
  445.  
  446.         @do goto monster1
  447.  
  448. ;Here's the gladiator
  449. @#monster1
  450. @fight
  451. ;name
  452. `s01
  453. ;string said when you see him
  454. `0"You get one chance, don't blow it!" `2taunts the Gladiator.
  455. ;power move kill string
  456. You carefully step over the lifeless Gladiator's body.. hehe!
  457. ;sex - 1 is male, 2 is female, 3 is it
  458. 1
  459. ;weapon and strength for the weapon, up to 5
  460. hits with his club|`p21
  461. slams you with his shield|`p21
  462. hits you with a big rock|`p21
  463. brawls with you|`p21
  464. NONE|NONE
  465. ;defense
  466. `p22
  467. ;gold reward
  468. 400
  469. ;experience
  470. 20
  471. ;hit points
  472. `p23
  473. ;if win: ref file|name or NONE
  474. BONE.REF|WIN
  475. ;if lose: ref file|name or NONE
  476. BONE.REF|DEFEAT
  477. ;if runs: ref file|name or NONE
  478. BONE.REF|RUN
  479. ;End of Gladiator stuff
  480.         @end
  481. ;@drawmap
  482. ;@update
  483.  
  484. @#PAWN
  485. ;The Pawnshop
  486. @do `v01 is 1
  487. @do moveback
  488. @busy
  489. @show
  490. `r0`c  `r1`%  Selena's Pawn Shop `r0
  491.  
  492. `2  A beautifully curved specimen stands before you - which makes what comes
  493.   out of her mouth next all the more cute.
  494.  
  495.   `2`0"And what can I do for today, you scagfaced Belar sucking thief?"
  496.  
  497. @do write
  498. `x`x
  499. @CHOICE
  500. Have some things to sell
  501. Conduct business with Selena
  502. Leave
  503. @if response is 1 then do
  504.   @begin
  505.   @run junkman2 in porttown.ref
  506.   @end
  507. @if response is 2 then do
  508.   @begin
  509.   @do `p20 is 4
  510.   @run getquest in quest.ref
  511.   @end
  512.  
  513. @drawmap
  514. @update
  515.  
  516. @#DRUNKER
  517. ;Drunk man in BoneTown bar
  518. @do moveback
  519. @do `p20 random 9 1
  520. @if `p20 is 1 then saybar
  521. `%Guy: `0Careful, this bar isn't all that clean in places.
  522. @if `p20 is 2 then saybar
  523. `%Guy: `0I hear there's a secret entrance to FlagCity!
  524. @if `p20 is 3 then saybar
  525. `%Guy: `0Watch out for Kelley here she'll give you more than a ride.
  526. @if `p20 is 4 then saybar
  527. `%Guy: `0If you get a bounty on your head, watch out.
  528. @if `p20 is 5 then saybar
  529. `%Guy: `0Some places wont let you in if you have a bounty on you.
  530. @if `p20 is 6 then saybar
  531. `%Guy: `0Don't cheat in the Casino here.
  532. @if `p20 is 7 then saybar
  533. `%Guy: `0Did you know Mr T. is Great!?
  534. @if `p20 is 8 then saybar
  535. `%Guy: `0On the other two continents I hear life is really exciting.
  536. @if `p20 is 9 then saybar
  537. `%Guy: `0Watch for the oracle!
  538.  
  539. @#BARTEND
  540. ;Bartender in the BoneTown Bar
  541. @BUSY
  542. @DO MOVEBACK
  543. @label scotch
  544. @do `v01 is 1
  545. @show
  546. `r0`c  `r1  BoneTown Bartender  `r0
  547.  
  548.   `0"Hey there, what brings you to our little watering hole?  Wait .. don't
  549.   answer, just being friendly.  What can I do for you buddy?" `2You eye the
  550.   bar.  A drink, a snack, or maybe some information.
  551.  
  552. @do write
  553. `x`x
  554. @choice
  555. >&money 4 Get a drink (`$$5`%)
  556. Ask about the town
  557. Inquire about bounties
  558. Leave
  559. @if response is 1 then do
  560.   @begin
  561.   @do money - 5
  562.   @if `p02 < `p03 then do
  563.    @begin
  564.    @do `p02 + 2
  565.     @if `p02 > `p03 then `p02 is `p03
  566.    @end
  567.   @show
  568. `\`\  `$"Gimme a shot of your finest sir." `2you say as you pay him.  Pretty
  569.   good for a place like this, you feel a bit better.
  570. `\`k
  571.   @do goto scotch
  572.   @end
  573. @if response is 2 then do
  574.   @begin
  575.    @do `p20 random 4 1
  576.   @if `p20 is 1 then do
  577.    @begin
  578.     @show
  579. `\`\  `0"This town is a haven of well... evil.  It was originally founded way
  580.   back when there was a mining rush on the coast.  There are rumors of caves
  581.   still open someplaces, where the miners couldn't quite make it out with the
  582.   gold ... or whatever it is they found..."`2
  583. `\`k
  584.    @do goto scotch
  585.    @end
  586.  
  587.   @if `p20 is 2 then do
  588.    @begin
  589.     @show
  590. `\`\  `0"Watch out for some of the women here.  They're real friendly, I mean
  591.   if you just move They'll sleep with you.  Talk about no ethics whatsoever.
  592.   Oh well it's a good way to increase your self esteem, I suppose, but it's
  593.   also a good way to get a little itch in someplaces if you get my meaning."
  594. `\`k
  595.    @do goto scotch
  596.    @end
  597.  
  598.   @if `p20 is 3 then do
  599.    @begin
  600.     @show
  601. `\`\  `0"Watch out for some of the people here in the Arena.  The Gladiators
  602.   they send at you are fairly random.  But sometimes you get the one that's
  603.   been watching you, who knows your every move.  And may just pummel you
  604.   completely.  And don't think just cause you're more experienced you can
  605.   take em, they're seasoned too.  You just be careful and remember the
  606.   healers is right nearby."
  607. `\`k
  608.    @do goto scotch
  609.    @end
  610.  
  611.   @if `p20 is 4 then do
  612.    @begin
  613.     @show
  614. `\`\  `0"This is a pretty rough town sometimes.  You can get into fights in
  615.   the streets, find someone waking you unplesantly at the inn, or wander off
  616.   to someplace you never should've gone.  This place aint for the faint of
  617.   heart."
  618. `\`k
  619.    @do goto scotch
  620.    @end
  621.  
  622.   @end
  623. ;End of storytime
  624. @if response is 3 then do
  625.   @begin
  626.    @show
  627. `\`\  `0"You wanna know about the heat ... I can tell you"
  628. `\`k
  629.   @routine BOUNTYLIST in BOUNTY.REF
  630.   @do goto scotch
  631.   @end
  632. @drawmap
  633. @update
  634.  
  635. @#heal
  636. @offmap
  637. @do moveback
  638. @do `v01 is 1
  639. @show
  640. `r0`c  `r1  BoneTown Healing  `r0
  641.  
  642. `2  B.A. looks you over for wounds.
  643.  
  644. @do write
  645. `x`x
  646. @if `p02 < `p03 then do
  647.  @begin
  648. @do `p20 is `p03
  649. @do `p20 - `p02
  650. @do `p20 / 2
  651.  
  652.  
  653.  @show
  654. `0"You don't look so good, fool!  What'd ya get yourself into anyway?
  655.   Aww, never mind crazy fool.  I'll fix ya up for `$`p20`0 gold, k?"
  656.  
  657. @do write
  658. `x`x
  659. @choice
  660. Heal yourself for `$$`p20`%. (you have `$$&money`%)
  661. Limp on out.
  662. @show
  663. `\
  664. @if response is 1 then do begin
  665.  @begin
  666.  @if money < `p20 then do
  667.   @begin
  668.   @show
  669.   `0"Sorry fool, we don't do no free work here."
  670.  
  671.  @do write
  672. `x`x
  673.  @choice
  674. Hey Fool!  How am I supposed to make money when I can barely walk?
  675. Man, how 'bout a little compassion for once in your life old man!
  676. How 'bout some of your 'special' pills then?
  677. Yes sir.
  678. @show
  679.  
  680.  
  681. @if response is 4 then do
  682.  @begin
  683.  @show
  684.   `0"You Crazy, now get going with you!" `2 he laughs.
  685.  
  686. `k
  687.  @end
  688.  
  689. @if response is 1 then do
  690.  @begin
  691.  @show
  692.   `0"Hey Fool, be a big s&man for once in your life!"`2 he yells.
  693.  
  694. `k
  695.  @end
  696. @if response is 2 then do
  697.  @begin
  698.  @show
  699.   `0"I cannot respect a fool that don't work," `2He informs you.
  700.  
  701. `k
  702.  @end
  703. @if response is 3 then do
  704.  @begin
  705.  @do `p02 = 1
  706.  @show
  707.   `0"Sure.  Take uh.. these." `2 he snickers.
  708.  
  709.   `2You gulp down the weird black pills
  710.  
  711.   `4HIT POINTS GO DOWN TO 1.
  712.  
  713. `k
  714.  @end
  715.  
  716.   @drawmap
  717.   @update
  718.   @closescript
  719.   @end
  720.  
  721. @do money - `p20
  722. @do `p21 = `p03
  723. @do `p21 - `p02
  724. @do `p02 = `p03
  725. @show
  726.   `2You feel much better as `0`p21`2 hitpoints are restored.
  727.  
  728. `k
  729.   @end
  730.   @drawmap
  731.   @update
  732.   @closescript
  733. @end
  734.  
  735. @show
  736. `0"You have no ailments, come back later fool!  I got other crazys to heal.
  737.   Nothing but fighting in this town I tell ya," `2he laughs.
  738.  
  739. `k
  740. @drawmap
  741. @update
  742.  
  743. @#GAMBLE
  744. ;Gambling with the man in the funhouse
  745. @do `v01 is 1
  746. @busy
  747. @do moveback
  748. @show
  749. `r0`c  `%`r1  A Little Game ?  `r0
  750.  
  751.   `2You sit down at the table and nod to the man across from you.  He looks
  752.   up, holding a pair of dice in his hand.
  753.   `0"Interested in a little game?"
  754.  
  755. @do write
  756. `x`x
  757. @CHOICE
  758. Yes
  759. No
  760. @if response is 1 then do
  761.   @begin
  762.    @routine CRAPSTART in GAMBLE.REF
  763.   @end
  764. @drawmap
  765. @update
  766.  
  767. @#BOAT
  768. ;For the bootleg boat guy in the funhouse.
  769. @do `v01 is 1
  770. @busy
  771. @do moveback
  772. @show
  773. `r0`c  `%`r1  The Silent Boater  `r0
  774.  
  775.   `2The man sitting eyes you for a second then speaks.
  776.   `0"You look like someone who may be interested in a trip somewhere.  I ...
  777.   may be able to help you in that department.  But you should know the
  778.   minimum ticket is"
  779.  
  780. @do write
  781. `x`x
  782. @CHOICE
  783. >&money 6999 Go to ArrisVille  (`$$7000`%)
  784. >&money 1499 Head to PortTown  (`$$1500`%)
  785. >&money 899 Take off to FlagCity  (`$$900`%)
  786. Leave
  787. @if response is 1 then do
  788. ;Go to ArrisVille
  789.   @begin
  790.    @do money - 7000
  791.    @show
  792. `\`\  `0"Good choice, let's go across the sea."
  793. `\`k
  794.    @loadmap 444
  795.    @do map is 444
  796.    @do x is 66
  797.    @do y is 18
  798.    @DRAWMAP
  799.    @DO SAYBAR
  800.   `2Welcome to the ellusive ArrisVille.
  801.    @UPDATE
  802.    @CLOSESCRIPT
  803.   @end
  804.  
  805. @if response is 2 then do
  806. ;Go to PortTown
  807.   @begin
  808.    @do money - 1500
  809.    @show
  810. `\`\  `0"That's a good choice, let's go!"
  811. `\`k
  812.    @loadmap 152
  813.    @do map is 152
  814.    @do x is 38
  815.    @do y is 2
  816.    @DRAWMAP
  817.    @DO SAYBAR
  818.   `2Welcome to PortTown.
  819.    @UPDATE
  820.    @CLOSESCRIPT
  821.   @end
  822.  
  823. @if response is 3 then do
  824. ;Go to FlagCity
  825.   @begin
  826.    @do money - 900
  827.    @show
  828. `\`\  `0"Sure, why not?"
  829. `\`k
  830.    @loadmap 71
  831.    @do map is 71
  832.    @do x is 38
  833.    @do y is 14
  834.    @DRAWMAP
  835.    @DO SAYBAR
  836.   `2Welcome to FlagCity.
  837.    @UPDATE
  838.    @CLOSESCRIPT
  839.   @end
  840. @drawmap
  841. @update
  842.  
  843. @#inn
  844. ;For the wood lodge in BoneTown
  845. @do `v01 is 1
  846. @offmap
  847. @do moveback
  848. @show
  849. `r0`c  `%`r1  THE WOODLOG INN  `r0
  850.  
  851.   `2This place looks a little campy - slack jaws & harlots wander around
  852.   the rooms aimlessly.
  853.  
  854.   A old man with only a few teeth smiles at you.
  855.  
  856.   You are holding `$$&money`2.
  857.  
  858. @do write
  859. `x`x
  860. @choice
  861. Get a room (`$$50`%)
  862. Leave
  863. @if response is 1 then do
  864.   @begin
  865.   @if money < 50 then do
  866.     @begin
  867.     @show
  868. `\`\`2  You are short on cash.  Pretty sad when you can't even afford to stay
  869.   in BoneTown!
  870.  
  871. `k
  872.     @drawmap
  873.     @update
  874.     @closescript
  875.     @end
  876.    @show
  877. `\`\  `2You give the dirty old man the cash.  He leads you inside...
  878. `\`k
  879.   ;has enough money
  880.    @do money - 50
  881.    @do x is 21
  882.    @do y is 13
  883.    @do map is 1206
  884.    @loadmap 1206
  885.    @drawmap
  886.    @update
  887.    @closescript
  888.   @end
  889.  
  890. @drawmap
  891. @update
  892.  
  893. @#TOILET
  894. ;Toilet inside the Inn
  895. @DO SAYBAR
  896. `2Great, the only toilet here and it doesn't work!  You'll have to hold it.
  897. @DO MOVEBACK
  898.  
  899. @#MESSAGE
  900. ;For the other chatwall in BoneTown
  901. @do moveback
  902. @busy
  903. @show
  904. `r0`c  `r1  CARVING ON THE BOARD  `r0
  905.  
  906. @if bar2.txt exist false then do
  907.  @begin
  908.   @if `v06 is 1 then do
  909.   @begin
  910.    @writefile bar2.txt
  911.    `%Local `2: `0We need to clean up this town.
  912.   @end
  913.   @if `v06 is 0 then do
  914.   @begin
  915.  @writefile bar2.txt
  916.   `%Pimp `2: `0Sheris, you better bring me my money girl!
  917.   `%Sheris `2: `0Boy, I do NOT work for you any more!
  918.   @end
  919.  @end
  920.  
  921. @if bar.txt exist true then do
  922.  @begin
  923.  @displayfile bar2.txt
  924.  @end
  925.  
  926. @show
  927.  
  928. @
  929. (Do tricky stuff with name to determine how much they can type)
  930. @DO `s04 is `%
  931. @DO `s04 add `n
  932. @DO STRIP `s04 <-- Strips all none color ` codes out
  933. @DO `s04 add `x`2:`x`0
  934. @DO `p20 is length `s04
  935. @DO `p21 is 76
  936. @DO `p21 - `p20
  937. @DO WRITE
  938.   `2Enter a special message or `0ENTER`2 to abort.`\  `s04
  939. @DO READSTRING `p21 NIL `s03 <--Read string, NIL is default. (nothing)
  940. @do stripbad `s03
  941. @SHOW
  942.  
  943. @DO `p24 is length `s03
  944. @IF `p24 less 3 then do
  945.  @begin
  946.  @drawmap
  947.  @update
  948.  @closescript
  949.  @end
  950.  
  951.  @writefile bar2.txt
  952.   `%`n`2 : `0`s03
  953.  @do trim bar2.txt 17
  954.  @drawmap
  955.  @update
  956.  
  957. @#NOTDONE
  958. ;A stock notdone message for the unfinished stuff
  959. @DO SAYBAR
  960. `2Not done yet, check out next version!
  961. @DO MOVEBACK
  962.  
  963. @#FUN
  964. ;The BoneTown fun house :)
  965. @do `v01 is 1
  966. @offmap
  967. @do moveback
  968. @show
  969. `r0`c  `%`r1  The FunHouse  `r0
  970.  
  971.   `2This place looks ... well great!!  You see gambling games, and lot's of
  972.   attractive individuals back there.  A man with plush purple hat with a
  973.   feather in it smiles at you.
  974.   `0"Hey s&man how ya doing?  Listen, if ya wanna get in here, it's gonna
  975.   be 100 tip, that cool with you?"
  976.  
  977.   `2You are holding `$$&money`2.
  978.  
  979. @do write
  980. `x`x
  981. @choice
  982. >&money 99 Pay the "admission" (`$$100`%)
  983. Leave
  984. @if response is 1 then do
  985.   @begin
  986.   @do money - 100
  987.   @show
  988. `\`\  `0"Good choice my s&man, you wont be disappointed."
  989. `\`k
  990.    @do x is 40
  991.    @do y is 15
  992.    @do map is 1282
  993.    @loadmap 1282
  994.    @drawmap
  995.    @update
  996.    @closescript
  997.   @end
  998. @drawmap
  999. @update
  1000.  
  1001. @#DEALER
  1002. ;Dealer in the funhouse
  1003. @do `v01 is 1
  1004. @busy
  1005. @do moveback
  1006. @show
  1007. `r0`c  `%`r1  The Back Room Guy  `r0
  1008.  
  1009.   `2Tucked away in a nice little corner, you see an unshaven man with a
  1010.   satchel at his side and a supiciously large purse.  A man who probably
  1011.   makes his living illegally.  Surprise surprise in this town.
  1012.   `0"Hey buddy interested in a little ... companionship?  If ya wanna
  1013.   get a nice little friend it'll cost ya 1000.  But you look like a s&man
  1014.   who could afford something like that."
  1015.  
  1016. @do write
  1017. `x`x
  1018. @choice
  1019. >&money 999 Buy some companionship (`$$1000`%)
  1020. Just Say No
  1021. @if response is 1 then do
  1022.   @begin
  1023.    @if `i51 > 0 then do
  1024.     @begin
  1025.     @show
  1026. `\`\  `0"Sorry man, only one little friend per customer..."
  1027. `\`k
  1028.     @drawmap
  1029.     @update
  1030.     @closescript
  1031.     @end
  1032.   @do money - 1000
  1033.   @do `i51 + 1
  1034.    @show
  1035. `\`\  `2The man reaches into his satchel and pulls out `l. `l. `l.`l a small
  1036.   animal!!
  1037.   `0"Here you go, I hope it treats you right" `2he smiles.
  1038. `\`k
  1039.   @end
  1040. @drawmap
  1041. @update
  1042.  
  1043. @#BOUNCER
  1044. ;The guy outside the casino
  1045. @DO SAYBAR
  1046. `2You gotta be 21 to go in there buddy!
  1047. @DO MOVEBACK
  1048.  
  1049. @#BOUNCER2
  1050. ;The guy outside the casino
  1051. @DO SAYBAR
  1052. `0"Sorry buddy, only important people are allowed in there."
  1053. @DO MOVEBACK
  1054.  
  1055. @#INFO
  1056. ;Guy who tells you junk in the funhouse
  1057. @do moveback
  1058. @do `p20 random 7 1
  1059. @if `p20 is 1 then saybar
  1060. `%DJ: `0Don't listen to them about the mining caves, they're all gone.
  1061. @if `p20 is 2 then saybar
  1062. `%DJ: `0You do need to be careful of the prostitution here.
  1063. @if `p20 is 3 then saybar
  1064. `%DJ: `0Show us some more of those block rockin beats.
  1065. @if `p20 is 4 then saybar
  1066. `%DJ: `0I hear the Inn at Sosen Village is a virtual gold mine!
  1067. @if `p20 is 5 then saybar
  1068. `%DJ: `0There's a boat outta BoneTown, but not one too it.
  1069. @if `p20 is 6 then saybar
  1070. `%DJ: `0Careful, I hear the Inn here isn't the safest.
  1071. @if `p20 is 7 then saybar
  1072. `%DJ: `0Watch out for bounty hunters.
  1073.  
  1074. @#EVENTS
  1075. ;Start for random events in BoneTown (tm)
  1076. @busy
  1077. @do `p20 random 3 1
  1078. @do goto event`p20
  1079.  
  1080. @#EVENT1
  1081. ;Mugged
  1082. @busy
  1083. @do `v01 is 1
  1084. @show
  1085. `r0`c  `%`r1  EVENT - Mugged  `r0
  1086.  
  1087.   `2You proceed around the next corner when suddenly a hooded man jumps
  1088.   you.  He wields two daggers and seems to be wearing leather armor.
  1089.   `0"My dear friend I'm afraid I'll have to ask you for a donation to my
  1090.   cause, 1000 gold!  You may give it kindly or I may take it from you.
  1091.   Your choice."
  1092.  
  1093.   `2What do you do:
  1094.  
  1095. @do write
  1096. `x`x
  1097. @choice
  1098. >&money 999 Give him the money
  1099. Fight
  1100. Run
  1101. @if response is 1 then do
  1102.   @begin
  1103.   @do money - 1000
  1104.   @show
  1105. `\`\  `0"You've made a wise decision.  Now, have a good day."  `2he says
  1106.   as he turns and runs, dissapearing into the shadows.
  1107. `\`k
  1108.   @end
  1109. @if response is 2 then do
  1110.   @begin
  1111.   @show
  1112. `\`\  `$"Come on buddy, give me your best shot."  `2you say as you whip out
  1113.   your s&weapon.
  1114. `\`k
  1115.   @do goto tbattle
  1116.   @end
  1117. @if response is 3 then do
  1118.   @begin
  1119.   @show
  1120. `\`\  `$"What's that over there?"  `2you yell as you dash for the nearest
  1121.   alley trying to escape.`k
  1122.   @do `p20 random 2 1
  1123.    @if `p20 is 1 then do
  1124.      @begin
  1125.        @show
  1126. `\  `2You look behind your back just in time to see that `l.`l.`l.
  1127. `\`k
  1128.      @drawmap
  1129.      @update
  1130.      @do saybar
  1131. `2You lost him.
  1132.      @closescript
  1133.      @end
  1134.    @if `p20 is 2 then do
  1135.      @begin
  1136.        @show
  1137. `\  `2You look behind your back just in time to see `l.`l.`l.
  1138. `\`k
  1139.      @do goto tbattle
  1140.      @end
  1141.   @end
  1142. @drawmap
  1143. @update
  1144.  
  1145. @#EVENT2
  1146. ;Seeing a mugging
  1147. @busy
  1148. @do `v01 is 1
  1149. @show
  1150. `r0`c  `%`r1  EVENT - Someone's being mugged  `r0
  1151.  
  1152.   `2You step around the corner when you notice a hooded man robbing a
  1153.   defenseless drunken man.  He wields two daggers and seems to be getting
  1154.   ready to depart.
  1155.  
  1156.   `2What do you do:
  1157.  
  1158. @do write
  1159. `x`x
  1160. @choice
  1161. Defend the poor man
  1162. Help out the thief
  1163. Leave
  1164. @if response is 1 then do
  1165.   @begin
  1166.   @do `p07 + 1
  1167.   @show
  1168. `\`\  `2You run at the thief yelling and getting your s&weapon ready.  He
  1169.   sees you and quickly sheaths his daggers running to the shadows.
  1170.   `0"You best hope I don't come across you first next time,"  `2he yells.
  1171.   `2The drunken man he was robbing seems a daze from the whole thing.  He
  1172.   looks up at you, burps thanks and proceeds on his way.  Some reward...
  1173. `\`k  `%YOUR ALIGNMENT GOES UP BY ONE!`0
  1174. `\`k
  1175.   @end
  1176. @if response is 2 then do
  1177.   @begin
  1178.   @do `p20 random 290 310
  1179.   @do money + `p20
  1180.   @do `p07 - 2
  1181.   @show
  1182. `\`\  `2You head over and get your s&weapon ready.  You kneel next to them
  1183.   `$"Mind if I help buddy?" `2 you ask.  He glares at you and seems surprised
  1184.   but them nods, better you help him than the victim.  You hold the poor man
  1185.   down as the thief blows a fine powder in his eyes, then grabs his purse.
  1186.   `0"Here you go buddy, thanks,"  `2he says and tosses you some of the loot.
  1187. `\`k  You get `$`p20 `2gold.
  1188. `\`k  `bYOUR ALIGNMENT GOES DOWN BY TWO!`b
  1189. `\`k
  1190.   @end
  1191. @drawmap
  1192. @update
  1193.  
  1194. @#EVENT3
  1195. ;Turf Battle
  1196. @busy
  1197. @do `v01 is 1
  1198. @show
  1199. `r0`c  `%`r1  EVENT - Turf War  `r0
  1200.  
  1201.   `2A small crowd seems to have formed.  It looks like two groups disputing
  1202.   over who owns this part of the town.  One group looks a little bigger than
  1203.   the other, but the others have better weapons it looks.  The tension is
  1204.   quickly mounting.
  1205.  
  1206.   `2What do you do:
  1207.  
  1208. @do write
  1209. `x`x
  1210. @choice
  1211. Talk down the feud
  1212. Help fight the big group
  1213. Help fight the small group
  1214. Kick both group's ass
  1215. Leave
  1216. @if response is 1 then do
  1217.   @begin
  1218.   @pauseoff
  1219.   @show
  1220. `\`\  `2You head over to the big mass, determined to make a difference.  You
  1221.   spout off some wisdom to the group, but it falls on deaf ears.  The crowd
  1222.   become rowdy after a club is thrown from one side.  You find yourself in
  1223.   the middle of a pretty bad feud.  You try to get out of the battle but
  1224.   end up fighting with both sides, only getting pretty hurt in the end.
  1225. `\`k
  1226.   @if `p02 > 10 then `p02 is 10
  1227.   @do `p20 random 4 1
  1228.    @if `p20 is 1 then do
  1229.     @begin
  1230.     @do `p07 + 1
  1231.     @show
  1232.   `bYOUR ALIGNMENT GOES UP BY ONE!`b
  1233. `\`k
  1234.     @end
  1235.   @end
  1236. @if response is 2 then do
  1237.   @begin
  1238.   @show
  1239. `\`\  `$"Don't worry guys, I'll help ya,"  `2you scream as you enter the
  1240.   fray.
  1241. `\`k
  1242.   @do goto BMOB
  1243.   @end
  1244. @if response is 3 then do
  1245.   @begin
  1246.   @show
  1247. `\`\  `$"Yea, let's beat the hell into em guys"  `2you say as you enter the
  1248.   fray.
  1249. `\`k
  1250.   @do goto SMOB
  1251.   @end
  1252. @if response is 4 then do
  1253.   @begin
  1254.   @pauseoff
  1255.   @show
  1256. `\`\  `2You take out your s&weapon and head over to the group.  You promptly
  1257.   march to the center where the leaders seem to be.  The crowd quiets and
  1258.   angry eyes fall upon you."
  1259.   `0"Who the hell are you?"  `2you hear.
  1260.   `$"I'm `n, Who wants some?" 
  1261. `\`k
  1262.   @do goto BIGMOB
  1263.   @end
  1264. @drawmap
  1265. @update
  1266.  
  1267. @#TBATTLE
  1268. @fight
  1269. ;name
  1270. Thief
  1271. ;string said when you see him
  1272. A man in a cloak approches you, with a dagger in each hand.
  1273. ;power move kill string
  1274. He should know, you've got insurance.
  1275. ;sex - 1 is male, 2 is female, 3 is it
  1276. 1
  1277. ;weapon and strength for the weapon, up to 5
  1278. jabs with his daggers|57
  1279. gets a good gash in your leg|80
  1280. cuts your arm|60
  1281. blows a strange powder into your eyes|59
  1282. NONE|NONE
  1283. ;defense
  1284. 21
  1285. ;gold reward
  1286. 500
  1287. ;experience
  1288. 150
  1289. ;hit points
  1290. 100
  1291. ;if win: ref file|name or NONE
  1292. NONE|NONE
  1293. ;if lose: ref file|name or NONE
  1294. BONE.REF|TLOSE
  1295. ;if runs: ref file|name or NONE
  1296. NONE|NONE
  1297. @drawmap
  1298. @update
  1299.  
  1300. @#BMOB
  1301. @fight
  1302. ;name
  1303. The Big Mob
  1304. ;string said when you see him
  1305. You prepare to take on the big group with s&weapon in hand.
  1306. ;power move kill string
  1307. `$"And stay away losers!!"  `2you shout.
  1308. ;sex - 1 is male, 2 is female, 3 is it
  1309. 3
  1310. ;weapon and strength for the weapon, up to 5
  1311. dogpiles ontop of you very unsafely|70
  1312. lines up and lashes into you|75
  1313. practice with their clubs on you|67
  1314. attempt to lynch you|87
  1315. NONE|NONE
  1316. ;defense
  1317. 19
  1318. ;gold reward
  1319. 350
  1320. ;experience
  1321. 100
  1322. ;hit points
  1323. 130
  1324. ;if win: ref file|name or NONE
  1325. NONE|NONE
  1326. ;if lose: ref file|name or NONE
  1327. GAMETXT.REF|DIE
  1328. ;if runs: ref file|name or NONE
  1329. NONE|NONE
  1330. @drawmap
  1331. @update
  1332.  
  1333. @#SMOB
  1334. @fight
  1335. ;name
  1336. Small Mob
  1337. ;string said when you see him
  1338. You prepare to take on the big group with s&weapon in hand.
  1339. ;power move kill string
  1340. `$"And stay away losers!!"  `2you shout.
  1341. ;sex - 1 is male, 2 is female, 3 is it
  1342. 3
  1343. ;weapon and strength for the weapon, up to 5
  1344. dogpiles ontop of you very unsafely|70
  1345. lines up and lashes into you|75
  1346. practice with their clubs on you|67
  1347. attempt to lynch you|87
  1348. NONE|NONE
  1349. ;defense
  1350. 18
  1351. ;gold reward
  1352. 315
  1353. ;experience
  1354. 80
  1355. ;hit points
  1356. 100
  1357. ;if win: ref file|name or NONE
  1358. NONE|NONE
  1359. ;if lose: ref file|name or NONE
  1360. GAMETXT.REF|DIE
  1361. ;if runs: ref file|name or NONE
  1362. NONE|NONE
  1363. @drawmap
  1364. @update
  1365.  
  1366. @#TLOSE
  1367. @if &money > 999 then do
  1368.   @begin
  1369.    @do money - 1000
  1370.   @end
  1371. @if &money < 1000 then do
  1372.   @begin
  1373.    @do money is 0
  1374.   @end
  1375. @SHOW
  1376. `r0`c  `r1`%  Defeat by the Thief  `r0
  1377.  
  1378.   `2The Thief raises his daggers to deliver the last blow ...
  1379.  
  1380. `k  `0"Don't worry, I'm not going to kill you, just your purse so to speak.
  1381.   So I'm sure you'll understand." `2He proceeds to raid your gold bag.
  1382.   But again you have your life.
  1383.  
  1384. `k
  1385. @do `p02 is 5
  1386. @DRAWMAP
  1387. @UPDATE
  1388. @CLOSESCRIPT
  1389.  
  1390. @#BIGMOB
  1391. @fight
  1392. ;name
  1393. Big Mob
  1394. ;string said when you see him
  1395. You prepare to take on both groups... with s&weapon in hand.
  1396. ;power move kill string
  1397. `$"And stay out losers!!"  `2you shout.
  1398. ;sex - 1 is male, 2 is female, 3 is it
  1399. 3
  1400. ;weapon and strength for the weapon, up to 5
  1401. dogpiles ontop of you very unsafely|70
  1402. lines up and lashes into you|75
  1403. practice with their clubs on you|67
  1404. attempt to lynch you|87
  1405. NONE|NONE
  1406. ;defense
  1407. 25
  1408. ;gold reward
  1409. 400
  1410. ;experience
  1411. 170
  1412. ;hit points
  1413. 220
  1414. ;if win: ref file|name or NONE
  1415. NONE|NONE
  1416. ;if lose: ref file|name or NONE
  1417. BONE.REF|BMOBLOSE
  1418. ;if runs: ref file|name or NONE
  1419. NONE|NONE
  1420. @drawmap
  1421. @update
  1422.  
  1423. @#BMOBLOSE
  1424. ;Losing after fighting both mobs
  1425. @SHOW
  1426. `r0`c  `r1`%  Both mobs beat you  `r0
  1427.  
  1428.   `2Both mobs let out their agression on you.  You seem to have stopped
  1429.   their potential rampage, but at the cost of your severe beating.
  1430.  
  1431. `k  `0"Ready to go for a little trip justice s&boy?"  `2laughs one of the
  1432.   leaders.  You're put into a sack and thrown into a wagon.  Struggling and
  1433.   in pain you manage to find a small hole to look out of.  You see the city
  1434.   walls of BoneTown pass by, seems like you're being lead out into the woods
  1435.   a bit.
  1436.   A minuet later you find yourself gasping for air hanging from a tree by a
  1437.   rope.  You hang on tough as you can, through the images you still get you
  1438.   see the gang slowly start to head away, back to the city.  Suddenly, the
  1439.   rope gives!!  And with a snap you fall to the ground, just barely alive.
  1440. `\`k
  1441. @do `p02 is 5
  1442.  @loadmap 1413
  1443.  @do map is 1413
  1444.  @do x is 14
  1445.  @do y is 9
  1446. @DRAWMAP
  1447. @UPDATE
  1448. @CLOSESCRIPT
  1449.  
  1450. @#RUIN
  1451. ;Message for seeing the arena
  1452. @DO SAYBAR
  1453. `2Looks like the ruins of something,  but the sign says "Arena".  
  1454.  
  1455. @#nomore
  1456.